import http from '@/request/index'
import qs from 'qs'

//  获取token
export const AdminLogin=(params:ILoginParams):TRes<IAdminLogin>=>http.post('admin/login',params)

// 获取用户权限
export const AdminInfo=():TRes<IAdminInfo>=>http.get('admin/info')


